package com.ruoyi.laiwu.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import com.ruoyi.laiwu.domain.bo.LwAlarmDetailBo;
import com.ruoyi.laiwu.domain.bo.LwAlarmExtendBo;
import com.ruoyi.laiwu.domain.bo.LwAlarmFileBo;
import com.ruoyi.laiwu.domain.bo.LwAlarmPositionBo;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;
import java.util.List;

/**
 * 告警视图对象 lw_alarm
 *
 * @author ruoyi
 * @date 2024-03-08
 */
@Data
@ExcelIgnoreUnannotated
public class LwAlarmVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 子ID
     */
    @ExcelProperty(value = "子ID")
    private Long subId;

    /**
     * 告警编号
     */
    @ExcelProperty(value = "告警编号")
    private String alarmNo;

    /**
     * 告警源名称
     */
    @ExcelProperty(value = "告警源名称")
    private String alarmSourceName;

    /**
     * 告警源类型
     */
    @ExcelProperty(value = "告警源类型")
    private Long alarmSourceType;

    /**
     * 告警源代码
     */
    @ExcelProperty(value = "告警源代码")
    private String alarmSourceCode;

    /**
     * 告警级别
     */
    @ExcelProperty(value = "告警级别")
    private String alarmGrade;

    /**
     * 告警类型
     */
    @ExcelProperty(value = "告警类型")
    private String alarmType;

    /**
     * 告警类型名称
     */
    @ExcelProperty(value = "告警类型名称")
    private String alarmTypeName;

    /**
     * 时间戳
     */
    @ExcelProperty(value = "时间戳")
    private Long timestamp;

    /**
     * 机构ID
     */
    @ExcelProperty(value = "机构ID")
    private Long orgId;

    private List<LwAlarmFileVo> alarmFiles;
    private LwAlarmExtendVo extend;
    private LwAlarmDetailVo alarmDetail;
    private LwAlarmPositionVo position;


}
